@import "@/styles/flex-init.scss";

.pro-form {
  min-height: 150vh;
  width: 100%;
  background-color: $fff;
  // overflow-x: auto;

  .title {
    @extend .f-align-center;

    .tag {
      width: 5px;
      height: 20px;
      margin-right: 5px;
      background-color: var(--primary);
    }

    background-color: $fff;
    color: var(--primary-text-value);
    font-size: 16px;
    height: 40px;
    font-weight: bold;
    border-bottom: var(--primary-border-line);
  }

  .slot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
  }

  // 自定义选择下拉框
  .costom-select {
    position: relative;
    width: 100%;

    .hide-custom-select-options {
      display: none;
    }

    .display-custom-select-options {
      z-index: 99;
      background-color: $fff;
      border-radius: 5px;
      position: absolute;
      width: 150px;
      right: 30px;
      top: 45px;
      min-height: 150px;
      max-height: 300px;
      overflow: auto;
      box-shadow: $box_shadow;

      .row {
        height: 40px;
        border-bottom: var(--primary-plain-dashed-line);
        display: flex;
        align-items: center;
        padding: 5px 10px;
        box-sizing: border-box;
      }

      .row:hover {
        background-color: var(--primary);
      }
    }
  }
}

.add-form,
.edit-form {
  .uni-forms-item {
    background-color: $fff;
  }
}
